package com.exp.irorichat.controller;


import com.exp.irorichat.entity.requst.UserReq;
import com.exp.irorichat.result.Result;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 用户表 前端控制器
 * </p>
 *
 * @author universe7427
 * @since 2024-12-10
 */
@RestController
@RequestMapping("/login")
@Api(tags = "登录相关接口")
@Slf4j
public class LoginController {
    @PostMapping("")
    public Result<String> login(UserReq userReq) {

        return Result.ok("登录成功");
    }

}

